/**
 * 
 */
package unifor.filetransfer.comandos;

import javax.swing.JTextArea;

import org.swixat.model.GenericContext;

/**
 * @author Landim - Arthur Landim
 *
 */
public class LimparAction extends GenericAction {

    /* (non-Javadoc)
     * @see unifor.filetransfer.comandos.GenericAction#action(org.swixat.model.GenericContext)
     */
    @Override
    public void action(GenericContext context) throws Exception {

        ((JTextArea) getMapParams(context).get("logTransmissao")).setText("");
        ((JTextArea) getMapParams(context).get("logRecepcao")).setText("");

    }

}
